package aooO.crm.Service.impl;


import aooO.crm.Service.ContactsActivityRelationService;
import aooO.crm.mapper.ContactsActivityRelationMapper;
import aooO.crm.pojo.ContactsActivityRelation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ContactsActivityRelationServiceImpl implements ContactsActivityRelationService {

    @Autowired
    ContactsActivityRelationMapper  carMapper;

    @Override
    public int deleteContactsActivityRelationByContactsIdAndActivityId(ContactsActivityRelation car) {
        return carMapper.deleteContactsActivityRelationByContactsIdAndActivityId(car);
    }

    @Override
    public int insertCARelation(List<ContactsActivityRelation> record) {
        return carMapper.insertCARelation(record);
    }
}
